<template>
  <!--轮播图跳转文本内容-->
  <div>
    <span v-html="slider.content"></span>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    name: 'slidercontent',
    props: {},
    data() {
      return {
        slider: {}
      };
    },
    methods: {},
    created() {
      var sliderinfo = this.$route.query.sliderinfo;
      this.slider = JSON.parse(sliderinfo);
    },
    components: {}
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less" rel="stylesheet/less">

</style>
